/**
 * @description 角色和用户表 模型
 */
const dayjs = require("dayjs");
const mongoose = require("../db/db");
const Schema = mongoose.Schema({
    createDate: {
        type: Number,
        default: dayjs()
    },
    roleId: {
        type: String,
        require: true
    },
    roleName: {
        type: String,
        require: true
    },
    userName: {
        type: String,
        require: true,
    },
    userId: {
        type: String,
        require: true
    },
    user_id: {
        type: String,
        require: true
    },

})
const correlation_user_role = mongoose.model("correlation_user_role", Schema);
module.exports = correlation_user_role;